package com.wf.pattern.builder;

/**
 * 功能描述
 *
 * @since 2021/11/3
 */
public abstract class AbstractBuilder {
    //创建产品对象
    protected Product product = new Product();

    public abstract void buildPartA();

    public abstract void buildPartB();

    public abstract void buildPartC();

    //返回产品对象
    public Product getResult() {
        return product;
    }
}
